package cn.kgc.disk.Dao;

import cn.kgc.disk.entity.User;
import org.springframework.stereotype.Repository;

@Repository("userDao")
public class UserDapImpl implements UserDao {
    @Override
    public void save(User user) {
//        System.out.println(user.getAge());
//        System.out.println(user.getUserName());
//        System.out.println(user.getUserLogname());
        System.out.println("保存用户成功");
        //System.out.println(1/0);
        //throw new RuntimeException("抛出异常4684513");
    }
}
